package com.yh.csx.crm.qo;

import com.yh.csx.crm.core.entity.Pagination;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * CustomerListQo class
 *
 * @author huyalin
 * @date 2019/2/26
 */
@Data
public class CustomerListQo extends Pagination {

    @ApiModelProperty("客户名称")
    private String customerName;

    @ApiModelProperty("公司代码")
    private String companyCode;

    @ApiModelProperty("一级客户分类")
    private String firstCategoryCode;

    @ApiModelProperty("二级客户分类")
    private String secondCategoryCode;

    @ApiModelProperty("三级客户分类")
    private String thirdCategoryCode;

    @ApiModelProperty("客户分类ID")
    private Integer customerCategoryId;

    @ApiModelProperty("注册资本")
    private String registeredCapital;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("合作模式")
    private String cooperationMode;

    @ApiModelProperty("业务员")
    private Long salesUserId;

    @ApiModelProperty("更新时间")
    private Date beginDate;

    @ApiModelProperty("更新时间")
    private Date endDate;

    @ApiModelProperty("同步状态")
    private Boolean syncFlag;

    @ApiModelProperty("联系人姓名")
    private String contactPerson;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("省名称")
    private String regionProvinceName;

    @ApiModelProperty("市名称")
    private String regionCity;

    @ApiModelProperty("区名称")
    private String regionArea;

    List<Long> subordinateUserIdList;

    private String beginDateStr;

    private String endDateStr;

    //排序字段：1-更新时间，2-距离
    private Integer orderField = 1;

    //排序类型: 0-升序，1-降序
    private Integer sortType = 1;
    private Double longitude;
    private Double latitude;

    private String type = "";


}
